package com.yx.springai.chatclient.service;

import org.springframework.ai.tool.annotation.Tool;
import org.springframework.ai.tool.annotation.ToolParam;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 *
 */
@Service
public class ToolsService {

    @Autowired
    TestToolService testToolService;

    @Tool(description = "退费")
    public String cancel(){
//        String cancel = testToolService.cancel(orderNo, name);
        return "调用退费方法成功";
    }
}
